package rsj.interceptor;

import com.rlyy.aibase.utils.base.Box;

/**
 * 拦截校验接口
 *
 * @author yuanqinglong
 * @since 2021/5/28 10:52
 */
@FunctionalInterface
public interface MyInterceptor {


    /**
     * 拦截处理逻辑
     *
     * @param in 参数
     * @return boolean
     * @throws Exception 异常
     */
    boolean preHandle(Box in) throws Exception;
}
